Added `-[NSArray validateAsPropertyList]` and `-[NSDictionary validateAsPropertyList...
[adiumx.git] / Plugins / Purple Service / ESPurpleJabberAccount.h
blob73b9d586137800d7e69e1be0061226c3128536b4
1 /*
2 * Adium is the legal property of its developers, whose names are listed in the copyright file included
3 * with this source distribution.
4 *
5 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
6 * General Public License as published by the Free Software Foundation; either version 2 of the License,
7 * or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
10 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
11 * Public License for more details.
13 * You should have received a copy of the GNU General Public License along with this program; if not,
14 * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 #import "CBPurpleAccount.h"
19 #define KEY_JABBER_CONNECT_SERVER @"Jabber:Connect Server"
20 #define KEY_JABBER_PRIORITY_AVAILABLE @"Jabber:Priority when Available"
21 #define KEY_JABBER_PRIORITY_AWAY @"Jabber:Priority when Away"
22 #define KEY_JABBER_RESOURCE @"Jabber:Resource"
23 #define KEY_JABBER_USE_TLS @"Jabber:Use TLS"
24 #define KEY_JABBER_FORCE_OLD_SSL @"Jabber:Force Old SSL"
25 #define KEY_JABBER_REQUIRE_TLS @"Jabber:Require TLS"
26 #define KEY_JABBER_ALLOW_PLAINTEXT @"Jabber:Allow Plaintext Authentication"
27 #define KEY_JABBER_SUBSCRIPTION_BEHAVIOR @"Jabber:Subscription Behavior"
28 #define KEY_JABBER_SUBSCRIPTION_GROUP @"Jabber:Default Subscription Group"
29 #define KEY_JABBER_VERIFY_CERTS @"Jabber:Verify Certificates"
31 @class AMXMLConsoleController, AMPurpleJabberServiceDiscoveryBrowsing, AMPurpleJabberAdHocServer;
33 @interface ESPurpleJabberAccount : CBPurpleAccount <AIAccount_Files> {
34 AMXMLConsoleController *xmlConsoleController;
35 AMPurpleJabberServiceDiscoveryBrowsing *discoveryBrowserController;
37 AMPurpleJabberAdHocServer *adhocServer;
39 NSMutableArray *gateways;
42 - (NSString *)serverSuffix;
43 - (NSString *)resourceName;
44 - (AMPurpleJabberAdHocServer*)adhocServer;
45 - (PurpleSslConnection*)secureConnection;
46 - (void)setShouldVerifyCertificates:(BOOL)yesOrNo;
47 - (BOOL)shouldVerifyCertificates;
49 @end